package com.four.service.impl;

import com.four.dao.TodayDao;
import com.four.pojo.Today;
import com.four.service.ITodayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("todayService")
public class TodayService implements ITodayService {

    @Autowired
    @Qualifier("todayDao")
    private TodayDao todayDao;

    @Override
    public Today findWash() {
        return todayDao.findWash();
    }

    @Override
    public Today findMax() {
        return todayDao.findMax();
    }

    @Override
    public Today findMin() {
        return todayDao.findMin();
    }

    @Override
    public Today findCount() {
        return todayDao.findCount();
    }

    @Override
    public Today findCount1() {
        return todayDao.findCount1();
    }

    @Override
    public Today findCount2() {
        return todayDao.findCount2();
    }

    @Override
    public List<Today> findWash2() {
        return todayDao.findWash2();
    }

}
